package com.dobest.common;

import lombok.Data;

/**
 * @author huangy
 * @description 压测配置信息
 * @since 2023/1/16 15:56
 **/
@Data
public class StressConfig {

    //机器人调用接口间隔时间 单位(m:秒)
    private static int callInterval = 1;

    //测试时间 每个接口持续测试时间 单位(m:秒)
    private static int testTime = 100;

    //测试模式
    private static int testModel = Constants.TEST_MODULE_SINGLE;

    //当前测试的接口
    private static int currentInter = 0;

    //压测开关 默认不开启压测
    private static boolean open = false;

    private StressConfig() {
        throw new UnsupportedOperationException();
    }

}
